<template>
  <div>
    <h1>girl</h1>
    <h2>{{id}}</h2>
  </div>
</template>

<script>
export default {
  name: "Girl",
  computed: {
    id() {
      return this.$route.params.id
    }
  },
  created() {
    const {id} = this.$route.params
    console.log(id)
    // console.log(this.$route.query)
    // console.log(this.$route.hash)
    // http://localhost:8080/girl/fghjklkbvcvbnm?id=123&from=index#hah
  }
}
</script>

<style scoped>

</style>